package com.study.spmongodb.controller;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author MI
 * @version 1.0
 * @date 2020/10/28 22:05
 */
@ApiModel("RequestVO.Creation")
public class RequestVO {
    @ApiModelProperty(value = "顶(up)/踩(down)", required = true)
    private String type;
    @ApiModelProperty(value = "顶/踩(1 -1)", required = true)
    private Integer num;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "RequestVO{" +
                "type='" + type + '\'' +
                ", num=" + num +
                '}';
    }
}
